package com.linln.modules.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.linln.common.exception.order.OrderException;
import com.linln.common.vo.JsonResult;
import com.linln.modules.order.domain.OrderTakecaruser;
import com.linln.modules.system.domain.User;

/**
 * @author 薛超
 * @since 2021-01-11
 * @version 1.0.7
 */
public interface OrderTakecaruserService extends IService<OrderTakecaruser> {

    void saveTakecaruser(User user) throws OrderException;

    int updateTakecaruser(User user);

    void removeTakecaruserById(String id);

    boolean isHaveOrder(String id);
}
